const toolbarConfig = {
  toolbarKeys: [
    "fontSize",
    "fontFamily",
    'bold',
    'clearStyle',
    'color',
    'bgColor',
    {
      key: 'group-justify', // 必填，要以 group 开头
      title: '对齐', // 必填
      iconSvg: '<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',
      menuKeys: [
        'justifyLeft',
        'justifyRight',
        'justifyCenter',
        'justifyJustify'
      ]
    },
    '|',
    // 菜单组，包含多个菜单
    {
      key: 'group-image', // 必填，要以 group 开头
      title: '图片', // 必填
      iconSvg: '',
      menuKeys: ['uploadImage',
        'insertImage',
        'deleteImage',
        'editImage',
        'viewImageLink'
      ]
    },
    'divider',
    'blockquote',
    'headerSelect',
    'redo',
    'undo'
  ]
}

export {
  toolbarConfig
}
